﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace tema_cars
{
    abstract class Automobil
    {
        protected string name;
        protected string color;
        protected string transmission;

        public Automobil() { }

        public Automobil(string name, string color, string transmissions)
        {
            this.name = name;
            this.color = color;
            this.transmission = transmissions;
        }

        public string getName()
        {
            return name;
        }

        public abstract string getType();
        public abstract void print();
    }
}
